<?php

    function showarray($arr)
    {
        foreach($arr as $key => $value)
        {
            if(is_array($value))
            {
                showarray($value);
            }
            else
            {
                echo $key,"=",$value,"\r\n";
            }
        }
    }

?>